package cfca.seal.front.service.ws.bean;

import cfca.seal.util.StringUtil;

public class AddBlankSignatureBean
{
  private String fieldName;
  private String page;
  private String lx;
  private String ly;
  private String width;
  private String height;

  public String getFieldName()
  {
    return this.fieldName;
  }

  public void setFieldName(String fieldName) {
    this.fieldName = fieldName;
  }

  public String getPage() {
    return this.page;
  }

  public void setPage(String page) {
    this.page = page;
  }

  public String getLx() {
    return this.lx;
  }

  public void setLx(String lx) {
    this.lx = lx;
  }

  public String getLy() {
    return this.ly;
  }

  public void setLy(String ly) {
    this.ly = ly;
  }

  public String getWidth() {
    return this.width;
  }

  public void setWidth(String width) {
    this.width = width;
  }

  public String getHeight() {
    return this.height;
  }

  public void setHeight(String height) {
    this.height = height;
  }

  public AddBlankSignatureBean(String xml) {
    this.fieldName = StringUtil.getNodeText(xml, "FieldName");
    this.page = StringUtil.getNodeText(xml, "Page");
    this.lx = StringUtil.getNodeText(xml, "LX");
    this.ly = StringUtil.getNodeText(xml, "LY");
    this.width = StringUtil.getNodeText(xml, "Width");
    this.height = StringUtil.getNodeText(xml, "Height");
  }
}